package com.example.bms.order.feign;

import com.example.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author Fusion
 * @Date:2022/2/28 22:40
 **/
@Component
@FeignClient(value = "bms-user")
public interface Userfeign {

    @RequestMapping("/user/user/list")
    public R userlist(@RequestParam Map<String, Object> params);

    @RequestMapping("/user/staff/list")
    public R stafflist(@RequestParam Map<String, Object> params);
}
